package com.example.demo.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "store_user_shop_rel")
public class UserShopRel extends BaseEntity {
    @Id
    @Column(name = "user_id")
    private Long userId;

    @Id
    @Column(name = "shop_id")
    private Long shopId;
    
    @Column(name = "is_current_shop")
    private Integer isCurrentShop;
    /**
     * @return user_id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * @return shop_id
     */
    public Long getShopId() {
        return shopId;
    }

    /**
     * @param shopId
     */
    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

	public Integer getIsCurrentShop() {
		return isCurrentShop;
	}

	public void setIsCurrentShop(Integer isCurrentShop) {
		this.isCurrentShop = isCurrentShop;
	}
    
    
}